module.exports = {
	components: [{
			type: 'text',
			name: '文本',
			icon: 'text_fields',
			option: {
				command: 'TEXT',
				font: 8,
				size: 7,
				data: '文本内容'
			}
		},
		{
			type: 'box',
			name: '矩形',
			icon: 'highlight_alt',
			option: {
				font: 8,
				size: 7,
				data: '文本内容'
			}
		},
		{
			type: 'line',
			name: '线条',
			icon: 'horizontal_rule',
			option: {
				font: 8,
				size: 7,
				data: '文本内容'
			}
		},
		{
			type: 'barcode',
			name: '条形码',
			icon: 'view_week',
			option: {
				font: 8,
				size: 7,
				data: '文本内容'
			}
		},
		{
			type: 'qrcode',
			name: '二维码',
			icon: 'qr_code',
			option: {
				font: 8,
				size: 7,
				data: '文本内容'
			}
		}
	],
	inputType: [{
			name: 'name',
			title: '名称',
			type: 'text',
			disabled: false
		},
		{
			name: 'width',
			title: '宽度',
			type: 'number',
			disabled: false
		},
		{
			name: 'height',
			title: '高度',
			type: 'number',
			disabled: false
		},
		{
			name: 'offset',
			title: '标签横向偏移量',
			type: 'number',
			disabled: false
		},
		{
			name: 'TDPPI',
			title: '横向分辨率',
			type: 'number',
			disabled: false
		},
		{
			name: 'MDPPT',
			title: '纵向分辨率',
			type: 'number',
			disabled: false
		},
		{
			name: 'id',
			title: 'ID',
			type: 'text',
			disabled: false
		},
		{
			name: 'type',
			title: '组件类型',
			type: 'text',
			disabled: true
		},
		{
			name: 'x',
			title: '横向起始位置',
			type: 'number',
			disabled: true
		},
		{
			name: 'y',
			title: '纵向起始位置',
			type: 'number',
			disabled: true
		},
		{
			name: 'command',
			title: '方向',
			type: 'select',
			disabled: true
		},
		{
			name: 'font',
			title: '字号',
			type: 'number',
			disabled: false
		},
		{
			name: 'size',
			title: '文字大小',
			type: 'number',
			disabled: false
		},
		{
			name: 'data',
			title: '文本内容',
			type: 'text',
			disabled: false
		}
	]
}
